package cn.kgc.billconsumer.feign;

import cn.kgc.billconsumer.fallback.BillFeignClientFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name="bill-provider",fallback = BillFeignClientFallBack.class)
public interface BillFeignClient {


    @RequestMapping(value = "/addbill",method = RequestMethod.POST)
    public int  addBill();



}
